package com.dotndot.controller.network.data;

import android.os.Handler;

import com.dotndot.controller.network.define.INetworkError.*;
import com.dotndot.controller.network.define.INetworkAPI.*;

public class RespNetworkData implements IRespNetwork
{
    private ERROR error;
    private REQUEST api;
    private Object data;
    private Handler handler;

    @Override
    public void setERR( ERROR error )
    {
        this.error = error;
    }

    @Override
    public ERROR getERR()
    {
        return this.error;
    }

    @Override
    public void setAPI( REQUEST api )
    {
        this.api = api;
    }

    @Override
    public REQUEST getAPI()
    {
        return this.api;
    }

    @Override
    public void setDATA( Object data )
    {
        this.data = data;
    }

    @Override
    public Object getData()
    {
        return this.data;
    }

    @Override
    public void setHandler( Handler handler )
    {
        this.handler = handler;
    }

    @Override
    public Handler getHandler()
    {
        return this.handler;
    }
}
